#ifndef EFFECT_H
#define EFFECT_H

#include <QtGui/QMainWindow>
#include "ui_effect.h"
#include <QtGui>

class effect : public QMainWindow
{
	Q_OBJECT

public:
	effect(QWidget *parent = 0, Qt::WFlags flags = 0);
	~effect();

private:
	Ui::effectClass ui;
};


class BlurEffect: public QGraphicsBlurEffect
{
	Q_OBJECT
	Q_PROPERTY(qreal radius READ radius WRITE setRadius)

public:
	qreal radius() const;
	void setRadius(qreal data);
private:
	qreal m_radius;
};

class ColorEffect: public QGraphicsColorizeEffect
{
	Q_OBJECT
		Q_PROPERTY(qreal radius READ radius WRITE setRadius)

public:
	qreal radius() const;
	void setRadius(qreal data);
private:
	qreal m_radius;
};
#endif // EFFECT_H
